<include file="./Tm/Dt/Top.html" />
		<div class="main">
			<include file="./Tm/Dt/Nav.html" />
			<div class="area">
				<div class="pad-20">
					<div class="panel panel-default linear">
					  	<div class="panel-heading title">我要投资</div>
					  	<div class="panel-body">
				    		<div class="row-fluid">
				    			<div class="span12">
				    				<div class="tabbable" id="tabs-402357">
										<ul class="nav nav-tabs">
										    <li class="active">
												<a href="#panel-401018" data-toggle="tab">投资列表</a>
											</li>
											<li >
												<a href="#panel-862181" data-toggle="tab">我要投资</a>
											</li>
											
										</ul>
										<div class="tab-content">
											<div class="tab-pane " id="panel-862181">
												<div class="h-30"></div>
												<form class="form-horizontal" action="/user/tz_form" method="post">
												  <!-- <div class="form-group">
												    <label for="inputEmail3" class="col-sm-2 control-label"></label>
												    <div class="col-sm-3"> -->
												      <!-- <p>投资日为每月的6/7/8/9</p> -->
												    <!-- </div>
												  </div> -->
												  <!-- <div class="form-group">
												    <label for="inputEmail3" class="col-sm-2 control-label"></label>
												    <div class="col-sm-3" style="width: 45%;">
												      <p>投资金额{$setting.min_money}~{$setting.max_money},且必须是{$setting.bei_money}的倍数</p>
												    </div>
												  </div> -->
												  <div class="form-group">
												    <label for="inputEmail3" class="col-sm-2 control-label">平台银行账户</label>
												    <div class="col-sm-3" style="width: 45%;">
												      <!-- <p>{$setting.bank_name}---{$setting.bank_num}---{$setting.bank_username}---{$setting.bank_zhi}</p> -->
												      <select name="yh">
												   
												      	<foreach name='adminbank' item='v'>
												      	<option value="{$v.id}">{$v.bank_name}---{$v.bank_num}---{$v.bank_username}---{$v.bank_zhi}</option>
												      	</foreach>
												      	
												      </select>
												    </div>
												  </div>
												  <div class="form-group">
												    <label for="inputEmail3" class="col-sm-2 control-label">投资金额</label>
												    <div class="col-sm-3">
												      <input type="text" class="form-control" id="inputEmail3" name="price">
												    </div>
												  </div>
												  <div class="form-group">
												    <label for="inputPassword3" class="col-sm-2 control-label">快速选择</label>
												    <div class="col-sm-3">
												      <select class="form-control" id="pid" onchange="gradeChange()">
												      	<option value="1000" >1000</option>
												      	<option value="2000">2000</option>
												      	<option value="3000">3000</option>
												      	<option value="5000">5000</option>
												      	<option value="10000">10000</option>
												      </select>
												    </div>
												  </div>
												  <div class="form-group">
												    <label for="inputPassword3" class="col-sm-2 control-label">二级密码</label>
												    <div class="col-sm-3">
												      <input type="password" class="form-control" id="inputPassword3" name="mm2">
												    </div>
												  </div>
												  <div class="form-group">
												    <div class="col-sm-offset-2 col-sm-3">
												      <button type="submit" class="btn btn-primary">提交</button>
												    </div>
												  </div>
												</form>
												  <div class="form-group">
												    <label for="inputEmail3" class="col-sm-2 control-label"></label>
												    <div class="col-sm-3" style="width: 45%;">
												      <p><span style="color:red;">投资说明：</span></br>
												      1、投资金额{$setting.min_money}~{$setting.max_money},且必须是{$setting.bei_money}的倍数；</br>
                                                      <!-- 1、每次"充值编号"均不相同,务必将"充值编号"正确复制填写到引号汇款页面的"附言"栏目中； -->
                                                      2、帐号不固定，转帐前请仔细核对该转账帐号；</br>
                                                      3、投资金额与实际转账金额不符，投资审核将无法通过；</br>
                                                      4、转账后如10分钟未到账，请联系客服，告知您的投资ID和您的投资金额及你的银行用户姓名。
                                                      </p>
												    </div>
												  </div>
											</div>
											<div class="tab-pane active" id="panel-401018">
												<div class="h-30"></div>
												<div class="table-responsive">
												  	<table class="table">
												    	<tr>
												    		<th>投资ID</th>
												    		<th>投资金额</th>
												    		<th>投资前投资金额</th>
												    		<th>投资日期</th>
												    		<th>平台银行卡号</th>
												    		<th>平台开户银行</th>
												    		<th>平台开户姓名</th>
												    		<th>平台支行信息</th>
												    		<th>投资状态</th>
												    	</tr>
												    	<foreach name='list' item='v'>
												    	<tr>
												    		<td>{$v.id}</td>
												    		<td>{$v.inmoney}</td>
												    		<td>{$v.tzqmoney}</td>
												    		<td>{$v.times|date="Y-m-d H:i:s",###}</td>
												    		<td>{$v.bank_num}</td>
												    		<td>{$v.bank_name}</td>
												    		<td>{$v.bank_username}</td>
												    		<td>{$v.bank_zhi}</td>
												    		<td>
												    		<if condition="$v.status eq '0'" >等待审核</if>
												    		<if condition="$v.status eq '1'" >投资成功</if>
												    		</td>
												    	</tr>
												    	</foreach>
												  	</table>
												</div>
												<div aria-label="Page navigation" class="f-right">
												  <ul class="pagination">
												  {$page}
												  </ul>
												</div>
											</div>
										</div>
									</div>
				    			</div>
			    			</div>
					  	</div>
					</div>
				</div>
			</div>
		</div>
<include file="./Tm/Dt/Foot.html" />
‍
<script type="text/JavaScript">
       function gradeChange(){
        var str=$('#pid').val(); 
        
        // alert(str); 
        document.getElementById("inputEmail3").value=str;
       }
</script>

